poem1 = [
    "芦花丛中一扁舟",
    "俊杰俄从此地游",
    "义士若能知此理",
    "反躬难逃可无忧"
]

poem2 = [
    "我画蓝江水",
    "爱晚亭上枫",
    "秋月溶溶照",
    "香烟袅袅绕"
]


def acrostic(poem):
    str=[]
    for i in range(len(poem)):
        str1=poem[i]
        str2=list(str1)
        str.append(str2[0])
        str1=""
    str_sum=''.join(str)
    return str_sum
print(acrostic(poem1))
print(acrostic(poem2))